package com.lagou.service.impl;

import com.lagou.service.EmailService;
import org.apache.dubbo.config.annotation.Service;

@Service
public class EmailServiceImpl implements EmailService {

    @Override
    public void sendCodeTOEmail(String code, String email) {
        //模拟发送验证码
        System.out.println("发送验证码 "+code +" 成功到 "+email+" 邮箱");
    }
}
